<html>
	<head>
		<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
		<script type="text/javascript" src="main.js"></script>
		<script type="text/javascript">
			$(document).ready(function(){
				var canvas = $('#canvas')[0];
				player = init(canvas);
				player.prepare();
				$('#btn').bind('click',function(){
					var canvas = $('#canvas')[0];
					player = init(canvas);
					player.start();
				});	
			});
		</script>
	</head>

	<body>
		<p><canvas id="canvas" width="400" height="200"> </canvas></p>
		<button id="btn">start</button>
	</body>
</html>
